﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Peninsula.DataAccess.POCO
{
    [Table("StoreRestatistics")]
  public class StoreRestatistics:BaseEntity
    {

        [DisplayName("统计时间")]
        public DateTime? TotalDateTime { get; set; }
        [DisplayName("数量")]
        public int Number { get; set; }
        [DisplayName("总金额")]
        public decimal TotalPrice { get; set; }

        [StringLength(50)]
        [DisplayName("所属店面")]
        public string StoreId { get; set; }

        [ForeignKey("StoreId")]
        public virtual Store Store { get; set; }
    }
}
